﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package eu.orangeflash.webapis.xmlrpc {

    public class MethodResponse implements IMethodResponse {

        private var _fault:Fault;
        private var _params:Array;
        private var _isFault:Boolean;// = false

        public function MethodResponse(params:Array=null, fault:Fault=null){
            _isFault = false;
            super();
            if (params != null){
                _params = params;
                _isFault = false;
                _fault = null;
            } else {
                _params = null;
                _isFault = true;
                _fault = fault;
            };
        }
        public function get fault():Fault{
            return (_fault);
        }
        public function get params():Array{
            return (_params);
        }
        public function get isFault():Boolean{
            return (_isFault);
        }

    }
}//package eu.orangeflash.webapis.xmlrpc 
